package com.ssy.lingxi.logistics.service;

import com.ssy.lingxi.common.model.dto.UserLoginCacheDTO;
import com.ssy.lingxi.common.model.vo.PageVO;
import com.ssy.lingxi.common.response.PageData;
import com.ssy.lingxi.common.response.Wrapper;
import com.ssy.lingxi.logistics.model.response.mobile.MobileReceiverAddressListResponse;

import java.util.List;

/**
 * app收货地址服务类
 *
 * @author yzc
 * @version 2.0.0
 * @date 2020/7/13
 */
public interface IMobileReceiverAddressService {

    /**
     * 收货地址分页列表
     * @param request 接口参数
     * @param loginUser 登录用户信息
     * @return 返回结果
     */
    Wrapper<PageData<MobileReceiverAddressListResponse>> pageReceiverAddress(PageVO request, UserLoginCacheDTO loginUser);

    /**
     * 收货地址列表(默认地址首位)
     * @return 返回结果
     */
    Wrapper<List<MobileReceiverAddressListResponse>> listReceiverAddressDefault(UserLoginCacheDTO sysUser);
}
